package com.sinog.biz.service.business;

import com.sinog.core.model.UserDTO;
import com.sinog.core.utilbean.Result;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

/**
 * @desc 帮教工作管理 - 帮教管理 - 帮教信息 - 党政及家庭教育
 * @author sunsf
 * @date 2020-02-20-16:40
 */
@RestController
public interface BjgzGenzongbangjiaoInfoMainService {

    /**
     * 帮教工作管理 - 帮教管理 - 帮教信息 - 党政及家庭教育保存
     * @param dataStr 业务数据
     * @param user user
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/saveBjDzInfo")
    Result saveBjDzInfo(@RequestParam(value = "dataStr", required = false) String dataStr,@RequestBody UserDTO user);

    /**
     * 获取帮教--党政--信息
     * @param pp 帮教对象标志位
     * @return Result
     */
    @RequestMapping("/azbj/azbjgl/bjgzgl/getBjDzBaseInfo")
    Result getBjDzBaseInfo(@RequestParam(value = "pp", required = false) String pp);
}